home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ppppwwwwcccckkkk((((1111MMMM)))) ppppwwwwcccckkkk((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- pwck - password file checker
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ppppwwwwcccckkkk [[_----_pppp] file]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _p_w_c_k scans the password file and notes any inconsistencies. The checks
- include validation of: the number of fields, login name, user ID, group
- ID, and whether the login directory and the program-to-use-as-Shell
- exist. The default password file is /_e_t_c/_p_a_s_s_w_d.
-
- _p_w_c_k has the ability to parse YP entries in the password file.
-
- The _----_pppp option prevents checking of the login directory and shell fields,
- useful for NIS administrators in checking the yppasswd file, where each
- login directory is not usually locally available.
-
- FFFFIIIILLLLEEEESSSS
- /etc/passwd
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- passwd(4).
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- Too many/few fields
- An entry in the password file does not have the proper number of
- fields.
-
- Logname field null
- The login name field of an entry is empty.
-
- Bad character(s) in logname
- The login name in an entry contains one or more non-alphanumeric
- characters.
-
- Logname too long/short
- The login name in an entry has more than 8 characters.
-
- Invalid UID
- The user ID field in an entry is not numeric or is greater than
- 2147483647. (Note that if the UID is > 65535, then files can not be
- created on EFS filesystems.)
-
- Invalid GID
- The group ID field in an entry is not numeric or is greater than
- 2147483647. (Note that if the GID is > 65535, then files can not be
- created on EFS filesystems.)
-
- Login directory null
- The login directory field in an entry is empty.
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ppppwwwwcccckkkk((((1111MMMM)))) ppppwwwwcccckkkk((((1111MMMM))))
-
-
-
- Login directory not found
- The login directory field in an entry refers to a directory that
- does not exist.
-
- Login directory illegal, try pathchk(1)
- The login directory field in an entry refers to an illegal directory
- name. Try running pathchk(1) on the login directory name.
-
- Optional shell file not found
- The login shell field in an entry refers to a program or shell
- script that does not exist.
-
- Optional shell file not found, try pathchk(1)"
- The login shell field in an entry refers to a program or shell
- script with an illegal path name. Try running pathchk(1) on the
- login shell file name.
-
- No netgroup name
- The entry is a Yellow Pages entry referring to a netgroup, but no
- netgroup is present.
-
- Bad character(s) in netgroup name
- The netgroup name in a Yellow Pages entry contains characters other
- than lower-case letters and digits.
-
- First char in netgroup name not lower case alpha
- The netgroup name in a Yellow pages entry does not begin with a
- lowercase letter.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-